Skip to main content

Online Order Response

FieldDetails
NameOnline Order Response
DescriptionOnline order response sent to third‑party systems

📦 Online Order Response Parameters

The ResponseObject contains a key named objJSONRows, which includes the following parameters:

Parameter (Key)Data TypeDescription
MessageTypevarchar(10)ORD_NRML
ManagerIDintManager ID
OrderNumbervarchar(50)Must be 0 for order entry. For modification/cancellation requests, this must be filled before sending.
CliOrderNumberintGateway/Client order number (system-generated)
Exchangevarchar(10)Exchange where the order is placed
ScripCodeintScrip code
Symbolvarchar(20)Exchange-provided security symbol
Seriesvarchar(3)Exchange-provided security series
InstrumentNamevarchar(20)Instrument name. Valid values include:
• Equity = blank
• Future Index = FUTIDX
• Interest Rate Future = FUTINT
• Future Stock = FUTSTK
• Option Index = OPTIDX
• Option Stock = OPTSTK
• MCX/NCDEX Futures = FUTCOM
• MCX Spot = COM
• NCDEX Spot = COMDTY
• NSE Currency Future = FUTCUR, FUTIRD, FUTIRT, OPTCUR
• NSE Currency Spot = INDEX, UNDCUR, UNDIRD, UNDIRT
ExpiryDatevarchar(10)Expiry date.
Ddmmmyyyy e.g 24JUN2004.
Applicable for Future and option segment only
StrikePriceintExchange‑provided strike price (in multiples of 100). Applicable for options only.
Option_Typevarchar(2)Option type. Applicable for options only.
Buy_SellintOrder side:
1 → Buy
2 → Sell
OrderOriginalQtyintTotal order quantity (e.g., 12500)
PendingQtyintPending quantity
TradedQTYintTraded quantity
DQintDisclosed quantity (quantity visible to the market)
DQRemainingintRemaining disclosed quantity
OrderPriceintPrice in paise at which order is placed
TriggerPriceintTrigger price for Stop‑Loss orders (applicable only for SL orders)
OrderTypeintType of order
MarketTypeintMarket type:
1 = Normal
2 = Auction
3 = PreOpen
OrderStatusintCurrent order status
Reasonvarchar(255)Rejection reason (only in failed cases)
OrderValidityintValidity Type
DaysintNumber of days (for validity types requiring days)
ProCliintParticipant Type:
2 → PRO
1 → Client
UserIDvarchar(16)Exchange user ID
PartCodevarchar(25)Participant ID
OrderEntryTimedatetimeTimestamp in 24‑hour format (e.g., 15Jun2019 15.25.15)
LastModifiedTimedatetimeTime when the order was last updated/confirmed
CPIDvarchar(6)CP ID
UCCvarchar(6)Alias UCC code
Productvarchar(5)Product type of the order
InitiatedByvarchar(25)Application/user that initiated the order
ModifiedByvarchar(25)Modified from application
InitiatedByUserIdvarchar(25)User ID from which the order was initiated
ModifiedByUserIdvarchar(25)User ID from which the order was modified
LegIndicatorvarchar(25)Blank value
UserRemarksvarchar(10)User remarks
Miscvarchar(10)Possible values: SPO-LMT, SPO-MKT, PO-MKT, PO-LMT
SpreadFlagvarchar(10)0 = Normal order
1 = Spread order
SpreadPriceintSpread price
AMOOrderIDvarchar(30)Order ID for AMO/EQGTD orders; otherwise blank
GTDOrderStatusintStatus code for GTD orders
MessageSequenceNumberint64Running message sequence number. Always use the highest sequence number for the latest order status.
UniqueCodevarchar(12)Alphanumeric value with special characters.

Note: Consider order status of 2nd packet for status updation in case of Surveillance rejected order